import { BasicFetchResult } from '@/api/model/baseModel'
import { CategroyModel } from './cateModel'
import { GoodsModel } from './goodsModel'
import { StaffModel } from './staffModel'
import { ProviderModel } from './providerModel'

/**
 * 服务商模型
 */
export interface ServiceGoodsModel {
  order_id?: number
  order_no?: string
  total_price?: string
  order_price?: string
  add_price?: string
  pay_price?: string
  update_price?: any
  coupon_id?: number
  coupon_money?: string
  buyer_remark?: string
  pay_type?: number
  pay_status?: number
  pay_time?: string
  is_confirm?: boolean
  confirm_time?: string
  is_comment?: boolean
  order_status?: number
  receipt_status?: number
  receipt_time?: string
  is_settled?: boolean
  transaction_id?: string
  staff_id?: number
  provider_id?: number
  user_id?: number
  user_name?: string
  user_phone?: string
  user_detail?: string
  user_doorplate?: string
  user_jd?: string
  user_wd?: string
  is_delete?: boolean
  create_time?: string
  update_time?: string
  category_id?: number
  date_at?: string
  time_show?: string
  goods?: GoodsModel[]
  staff?: StaffModel
  provider?: ProviderModel
  category?: CategroyModel
}

export type ServiceGoodsGetResultModel = BasicFetchResult<ServiceGoodsModel>
